<!--  views/NotFound.vue -->
<template>
  <div class="box">
    <van-empty image="error" description="啊偶。找不到页面呢。">
      <van-button @click="goBack" plain round type="danger" class="bottom-button">返回</van-button>
    </van-empty>
  </div>
</template>
<script>
export default {
  data() {
    return {}
  },
  methods:{
    goBack(){
      this.$router.go(-1)
    }
  }
}
</script>
<style lang="less" scoped>
.box{
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bottom-button {
  width: 160px;
  height: 40px;
}
</style>
